home *** CD-ROM | disk | FTP | other *** search
/ 1st Multimedia Mac Shareware / Multimedia Shareware CD-ROM - BetaCorp.iso / StackToolsƒ / Utilities / Plots / background_3791.xml < prev    next >
Encoding:
Extensible Markup Language  |  1992-08-13  |  9.8 KB  |  328 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>3791</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_4024.pbm</bitmap>
  7.     <cantDelete> <true /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_13428.css" />
  11.     <part>
  12.         <id>2</id>
  13.         <type>button</type>
  14.         <visible> <true /> </visible>
  15.         <reserved5> 0 </reserved5>
  16.         <reserved4> 0 </reserved4>
  17.         <reserved3> 0 </reserved3>
  18.         <reserved2> 0 </reserved2>
  19.         <reserved1> 0 </reserved1>
  20.         <enabled> <true /> </enabled>
  21.         <rect>
  22.             <left>14</left>
  23.             <top>309</top>
  24.             <right>46</right>
  25.             <bottom>334</bottom>
  26.         </rect>
  27.         <style>transparent</style>
  28.         <showName> <false /> </showName>
  29.         <highlight> <false /> </highlight>
  30.         <autoHighlight> <false /> </autoHighlight>
  31.         <sharedHighlight> <true /> </sharedHighlight>
  32.         <family>0</family>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>21700</icon>
  35.         <textAlign>center</textAlign>
  36.         <font>Chicago</font>
  37.         <textSize>12</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <name>Home</name>
  40.         <script>on mouseUp
  41. visual effect iris close
  42. go home
  43. end mouseUp
  44.  
  45. </script>
  46.     </part>
  47.     <part>
  48.         <id>11</id>
  49.         <type>button</type>
  50.         <visible> <true /> </visible>
  51.         <reserved5> 0 </reserved5>
  52.         <reserved4> 0 </reserved4>
  53.         <reserved3> 0 </reserved3>
  54.         <reserved2> 0 </reserved2>
  55.         <reserved1> 0 </reserved1>
  56.         <enabled> <true /> </enabled>
  57.         <rect>
  58.             <left>55</left>
  59.             <top>307</top>
  60.             <right>132</right>
  61.             <bottom>337</bottom>
  62.         </rect>
  63.         <style>roundrect</style>
  64.         <showName> <true /> </showName>
  65.         <highlight> <false /> </highlight>
  66.         <autoHighlight> <true /> </autoHighlight>
  67.         <sharedHighlight> <true /> </sharedHighlight>
  68.         <family>0</family>
  69.         <titleWidth>0</titleWidth>
  70.         <icon>0</icon>
  71.         <textAlign>center</textAlign>
  72.         <font>Chicago</font>
  73.         <textSize>12</textSize>
  74.         <textStyle>plain</textStyle>
  75.         <name>Front Card</name>
  76.         <script>on mouseUp
  77. visual effect dissolve
  78. go to card FrontCard
  79. end mouseUp
  80. </script>
  81.     </part>
  82.     <part>
  83.         <id>12</id>
  84.         <type>button</type>
  85.         <visible> <true /> </visible>
  86.         <reserved5> 0 </reserved5>
  87.         <reserved4> 0 </reserved4>
  88.         <reserved3> 0 </reserved3>
  89.         <reserved2> 0 </reserved2>
  90.         <reserved1> 0 </reserved1>
  91.         <enabled> <true /> </enabled>
  92.         <rect>
  93.             <left>140</left>
  94.             <top>307</top>
  95.             <right>190</right>
  96.             <bottom>337</bottom>
  97.         </rect>
  98.         <style>roundrect</style>
  99.         <showName> <true /> </showName>
  100.         <highlight> <false /> </highlight>
  101.         <autoHighlight> <true /> </autoHighlight>
  102.         <sharedHighlight> <true /> </sharedHighlight>
  103.         <family>0</family>
  104.         <titleWidth>0</titleWidth>
  105.         <icon>0</icon>
  106.         <textAlign>center</textAlign>
  107.         <font>Chicago</font>
  108.         <textSize>12</textSize>
  109.         <textStyle>plain</textStyle>
  110.         <name>Print</name>
  111.         <script>on mouseUp
  112. doMenu "Print Card"
  113. end mouseUp
  114. </script>
  115.     </part>
  116.     <part>
  117.         <id>13</id>
  118.         <type>field</type>
  119.         <visible> <true /> </visible>
  120.         <dontWrap> <false /> </dontWrap>
  121.         <dontSearch> <false /> </dontSearch>
  122.         <sharedText> <false /> </sharedText>
  123.         <fixedLineHeight> <true /> </fixedLineHeight>
  124.         <autoTab> <true /> </autoTab>
  125.         <lockText> <false /> </lockText>
  126.         <rect>
  127.             <left>447</left>
  128.             <top>44</top>
  129.             <right>504</right>
  130.             <bottom>190</bottom>
  131.         </rect>
  132.         <style>rectangle</style>
  133.         <autoSelect> <false /> </autoSelect>
  134.         <showLines> <true /> </showLines>
  135.         <wideMargins> <false /> </wideMargins>
  136.         <multipleLines> <false /> </multipleLines>
  137.         <reservedFamily> 0 </reservedFamily>
  138.         <titleWidth>0</titleWidth>
  139.         <icon>0</icon>
  140.         <textAlign>right</textAlign>
  141.         <font>Geneva</font>
  142.         <textSize>12</textSize>
  143.         <textStyle>plain</textStyle>
  144.         <textHeight>16</textHeight>
  145.         <name>DataPlot</name>
  146.         <script></script>
  147.     </part>
  148.     <part>
  149.         <id>15</id>
  150.         <type>field</type>
  151.         <visible> <true /> </visible>
  152.         <dontWrap> <false /> </dontWrap>
  153.         <dontSearch> <false /> </dontSearch>
  154.         <sharedText> <false /> </sharedText>
  155.         <fixedLineHeight> <true /> </fixedLineHeight>
  156.         <autoTab> <false /> </autoTab>
  157.         <lockText> <false /> </lockText>
  158.         <rect>
  159.             <left>447</left>
  160.             <top>198</top>
  161.             <right>504</right>
  162.             <bottom>216</bottom>
  163.         </rect>
  164.         <style>rectangle</style>
  165.         <autoSelect> <false /> </autoSelect>
  166.         <showLines> <true /> </showLines>
  167.         <wideMargins> <false /> </wideMargins>
  168.         <multipleLines> <false /> </multipleLines>
  169.         <reservedFamily> 0 </reservedFamily>
  170.         <titleWidth>0</titleWidth>
  171.         <icon>0</icon>
  172.         <textAlign>right</textAlign>
  173.         <font>Geneva</font>
  174.         <textSize>12</textSize>
  175.         <textStyle>plain</textStyle>
  176.         <textHeight>16</textHeight>
  177.         <name>Total1</name>
  178.         <script></script>
  179.     </part>
  180.     <part>
  181.         <id>16</id>
  182.         <type>button</type>
  183.         <visible> <true /> </visible>
  184.         <reserved5> 0 </reserved5>
  185.         <reserved4> 0 </reserved4>
  186.         <reserved3> 0 </reserved3>
  187.         <reserved2> 0 </reserved2>
  188.         <reserved1> 0 </reserved1>
  189.         <enabled> <true /> </enabled>
  190.         <rect>
  191.             <left>435</left>
  192.             <top>305</top>
  193.             <right>505</right>
  194.             <bottom>335</bottom>
  195.         </rect>
  196.         <style>roundrect</style>
  197.         <showName> <true /> </showName>
  198.         <highlight> <false /> </highlight>
  199.         <autoHighlight> <true /> </autoHighlight>
  200.         <sharedHighlight> <true /> </sharedHighlight>
  201.         <family>0</family>
  202.         <titleWidth>0</titleWidth>
  203.         <icon>0</icon>
  204.         <textAlign>center</textAlign>
  205.         <font>Chicago</font>
  206.         <textSize>12</textSize>
  207.         <textStyle>plain</textStyle>
  208.         <name>Plot Ages</name>
  209.         <script>on mouseUp
  210. set cursor to watch
  211. put empty into fld DataPlot of cd AgePlot
  212. put empty into fld Total1 of cd AgePlot
  213.  
  214. go cd 6 of stack ‚àûReportCard
  215. put fld list into zounds
  216.  
  217. if zounds is empty then
  218. ask "What data field do you want to plot?"
  219. if it is empty then exit mouseUp
  220. end if
  221.  
  222. go back
  223. put zounds into fld dataplot
  224.  
  225.  
  226. --draw the histogram, this part of script from Apple------------------
  227. unlock screen
  228. clearScreen
  229. reset paint
  230. choose rect tool
  231. set lineSize to 1
  232. set pattern to 14
  233. set filled to true
  234. put 25 into horiz
  235. put maxLine(fld DataPlot of cd AgePlot) into maxValue
  236. put the number of lines in fld DataPlot of cd AgePlot into dataCount
  237. put round(395/dataCount) into horizStep
  238. put round(horizStep * 3/4) into width
  239. repeat with i = 1 to dataCount
  240. get line i of fld DataPlot of cd AgePlot
  241. if it is not empty then
  242. put round(210*it/maxValue) into height
  243. drag from horiz,260-height to horiz+width,260
  244. end if
  245. add horizStep to horiz
  246. end repeat
  247. reset paint
  248. choose browse tool
  249. set userLevel to saveLevel
  250. end mouseUp
  251.  
  252. </script>
  253.     </part>
  254.     <part>
  255.         <id>17</id>
  256.         <type>field</type>
  257.         <visible> <true /> </visible>
  258.         <dontWrap> <false /> </dontWrap>
  259.         <dontSearch> <false /> </dontSearch>
  260.         <sharedText> <false /> </sharedText>
  261.         <fixedLineHeight> <true /> </fixedLineHeight>
  262.         <autoTab> <false /> </autoTab>
  263.         <lockText> <false /> </lockText>
  264.         <rect>
  265.             <left>117</left>
  266.             <top>23</top>
  267.             <right>350</right>
  268.             <bottom>43</bottom>
  269.         </rect>
  270.         <style>transparent</style>
  271.         <autoSelect> <false /> </autoSelect>
  272.         <showLines> <false /> </showLines>
  273.         <wideMargins> <false /> </wideMargins>
  274.         <multipleLines> <false /> </multipleLines>
  275.         <reservedFamily> 0 </reservedFamily>
  276.         <titleWidth>0</titleWidth>
  277.         <icon>0</icon>
  278.         <textAlign>left</textAlign>
  279.         <font>Chicago</font>
  280.         <textSize>12</textSize>
  281.         <textStyle>plain</textStyle>
  282.         <textHeight>16</textHeight>
  283.         <name>Tumor1</name>
  284.         <script></script>
  285.     </part>
  286.     <part>
  287.         <id>18</id>
  288.         <type>field</type>
  289.         <visible> <false /> </visible>
  290.         <dontWrap> <false /> </dontWrap>
  291.         <dontSearch> <false /> </dontSearch>
  292.         <sharedText> <false /> </sharedText>
  293.         <fixedLineHeight> <true /> </fixedLineHeight>
  294.         <autoTab> <false /> </autoTab>
  295.         <lockText> <false /> </lockText>
  296.         <rect>
  297.             <left>457</left>
  298.             <top>220</top>
  299.             <right>499</right>
  300.             <bottom>232</bottom>
  301.         </rect>
  302.         <style>transparent</style>
  303.         <autoSelect> <false /> </autoSelect>
  304.         <showLines> <false /> </showLines>
  305.         <wideMargins> <false /> </wideMargins>
  306.         <multipleLines> <false /> </multipleLines>
  307.         <reservedFamily> 0 </reservedFamily>
  308.         <titleWidth>0</titleWidth>
  309.         <icon>0</icon>
  310.         <textAlign>left</textAlign>
  311.         <font>Geneva</font>
  312.         <textSize>12</textSize>
  313.         <textStyle>plain</textStyle>
  314.         <textHeight>16</textHeight>
  315.         <name>Total</name>
  316.         <script></script>
  317.     </part>
  318.     <part>
  319.         <id>20</id>
  320.         <type>button</type>
  321.         <visible> <true /> </visible>
  322.         <reserved5> 0 </reserved5>
  323.         <reserved4> 0 </reserved4>
  324.         <reserved3> 0 </reserved3>
  325.         <reserved2> 0 </reserved2>
  326.         <reserved1> 0 </reserved1>
  327.         <enabled> <true /> </enabled>
  328.         <rect>
  329.             <left>448</left>
  330.             <top>236</top>
  331.             <right>504</right>
  332.             <bottom>285</bottom>
  333.         </rect>
  334.         <style>roundrect</style>
  335.         <showName> <true /> </showName>
  336.         <highlight> <false /> </highlight>
  337.         <autoHighlight> <true /> </autoHighlight>
  338.         <sharedHighlight> <true /> </sharedHighlight>
  339.         <family>0</family>
  340.         <titleWidth>-1</titleWidth>
  341.         <icon>-15996</icon>
  342.         <textAlign>center</textAlign>
  343.         <font>Chicago</font>
  344.         <textSize>12</textSize>
  345.         <textStyle>plain</textStyle>
  346.         <name>Pie Graph</name>
  347.         <script>on mouseUp
  348. lock Screen
  349. go to card PieGraph
  350. put field Tumor1 of card AgePlot into field SeriesName of card PieGraph
  351. click at 311,319
  352. unlock Screen with dissolve
  353. end mouseUp</script>
  354.     </part>
  355.     <part>
  356.         <id>21</id>
  357.         <type>button</type>
  358.         <visible> <true /> </visible>
  359.         <reserved5> 0 </reserved5>
  360.         <reserved4> 0 </reserved4>
  361.         <reserved3> 0 </reserved3>
  362.         <reserved2> 0 </reserved2>
  363.         <reserved1> 0 </reserved1>
  364.         <enabled> <true /> </enabled>
  365.         <rect>
  366.             <left>199</left>
  367.             <top>307</top>
  368.             <right>279</right>
  369.             <bottom>337</bottom>
  370.         </rect>
  371.         <style>roundrect</style>
  372.         <showName> <true /> </showName>
  373.         <highlight> <false /> </highlight>
  374.         <autoHighlight> <true /> </autoHighlight>
  375.         <sharedHighlight> <true /> </sharedHighlight>
  376.         <family>0</family>
  377.         <titleWidth>0</titleWidth>
  378.         <icon>0</icon>
  379.         <textAlign>center</textAlign>
  380.         <font>Chicago</font>
  381.         <textSize>12</textSize>
  382.         <textStyle>plain</textStyle>
  383.         <name>Data Cards</name>
  384.         <script>on mouseUp
  385. go to card datacard1
  386. end mouseUp
  387. </script>
  388.     </part>
  389.     <name>AgePlotBg</name>
  390.     <script></script>
  391. </background>
  392.